/*	Mech_ATTACK class declaration.
 *
*/

#ifndef Mech_ATTACK_H_
#define Mech_ATTACK_H_

#include "Behavior.h"
#include <BWAPI.h>

class MechAttack : public Behavior
{
public:
	MechAttack(std::string incName = "MechAttack");
	
	void Enter();
	void Execute();
	void Exit();

	bool CheckConditions();
	BWAPI::Unit* findNearestEnemy(BWAPI::Unit*);

private:
	// On which frame did we last send everyone to attack
	int lastGroundAttackFrame;
	BWAPI::Unit* currentTargetBuilding;
	BWAPI::TilePosition currentTargetTile;

};

#endif